package com.xds.gulimall.order.feign;

import com.xds.gulimall.order.vo.OrderConfirmVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author : baixu
 * @date : 11:07 2021/12/23
 */
@FeignClient("gulimall-member")
public interface MemberFeign {
    @GetMapping("/member/memberreceiveaddress/{memberId}/address")
    public List<OrderConfirmVo.MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);

}
